package com.kitty.game.task.model.product.targetparam;

import com.kitty.game.task.model.product.TaskTargetParam;
import org.nutz.lang.util.NutMap;

public class DonateTargetParam extends TaskTargetParam {
    /**名称*/
    private String itemName;
    /**数量*/
    private int count;

    @Override
    public TaskTargetParam parseParam(NutMap nutMap) {
        this.itemName = nutMap.getString("itemName");
        this.count = nutMap.getInt("count");
        return this;
    }

    public String getItemName() {
        return itemName;
    }

    public int getCount() {
        return count;
    }
}
